import axios from 'axios'
axios.setConfig = function (config) {
  axios.defaults.timeout = config.AJAX_TIMEOUT
  // 跨域保留cookie
  // axios.defaults.withCredentials = true
}
export default axios
